const BaseHandler = require('../base-handler');
const SystemServices = require('../../../constants').SystemServices;
const HTTP_VERBS = require('../../../constants').HTTP_VERBS;

class TasksHandler extends BaseHandler {
    get pattern() {
        return "/taskmanage";
    }

    doGET(request, response) {
        response.render('tasks', {
            user: request.session.user
        });
    }

    setup() {
        this.registerVerb(HTTP_VERBS.GET, this.doGET);
    }
}

module.exports = TasksHandler;